package com.king01.dao;

import com.king01.entity.Branch;
import com.king01.entity.Dept;
import com.king01.entity.Staff;
import com.king01.vo.DeptVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeptDao {
    public List<Dept> findAllDept();

    public Integer add(Dept dept);

    public List<Staff> selByDeptId(@Param("deptid") Integer deptid,@Param("branchid") Integer branchid);
//删除
    public Integer del(Integer deptid);

    public Integer update1(DeptVo deptVo);
}
